package com.ljy.controller.wx;


import com.ljy.dao.Wx_user_Dao;
import com.ljy.pojo.Device;
import com.ljy.service.Wx_user_Service;
import com.ljy.utils.MassageJsons;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/user")
public class User_controller {


    @Resource
    Wx_user_Dao wx_user_dao;
    @Resource
    Wx_user_Service wx_user_service;

    @RequestMapping(value = "/userlogin")
    public MassageJsons listAdmin(){
        List<Device> deviceList = null;
        try {
            System.out.println("/user/userlogin");
            return new MassageJsons("200","登录成功",0);
        }catch (Exception e){
            e.printStackTrace();
        }
        return new MassageJsons("201","登录失败",0);
    }





}
